set(UserService_LIST UserService.cpp ../user.pb.cc)
set(FriendService_LIST FriendService.cpp ../friend.pb.cc)

add_executable(UserService ${UserService_LIST})
add_executable(FriendService ${FriendService_LIST})

target_link_libraries(UserService mprpc ${PROTOBUF_LIBRARIES})
target_link_libraries(FriendService mprpc ${PROTOBUF_LIBRARIES})